<?php require_once('../../core/import.php');?>
<?php User::Permission('EJOURNAL_UPDATE'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
        #数据处理
        $Data=array
        ( 
	  	'Title'=>Functions::FormArgs('Title'),
            'ReleaseDate'=>Functions::FormArgs('ReleaseDate'),
            'Location'=>Functions::FormArgs('Location'),
		'Headline_Title'=>Functions::FormArgs('Headline_Title'),
		'Headline_Summary'=>Functions::FormArgs('Headline_Summary',NULL,FALSE)
        );

        DB::UpdateRowByID('ejournal',Functions::FormArgs('ID'),$Data);
        echo '{"Number":"0","Description":"成功修改"}';
    }
?>